using Lucene.Net.Analysis;
using Lucene.Net.Analysis.Standard;
using Lucene.Net.Index;
using Lucene.Net.Search;
using Lucene.Net.Store;

namespace Webshop20.AntiCorruptionLayers.Lucene
{
    public abstract class LuceneFacadeBase
    {
        protected const string INDEX_FILE = @"C:\Index";
        protected Analyzer analyzer;
        protected FSDirectory dir;

        public LuceneFacadeBase()
        {
            dir = FSDirectory.GetDirectory(INDEX_FILE, true);
            analyzer = new StandardAnalyzer();
        }
    }
}